package com.sftz.assets.entities.inform;

import org.nutz.dao.entity.annotation.*;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;


@Data
@Table("private_user_letter")
public class PrivateUserLetterEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;
	
	@Column
    @Comment("发送者Id(作为标记)")
	private Integer userId;
	
	@Column
    @Comment("接收者id(作为标记)")
	private Integer friendId;
	
	@Column
    @Comment("真实发送者id")
	private Integer senderId;
	
	@Column
    @Comment("真实接收者id")
	private Integer receiverId;
	
	@Column
    @Comment("私信内容")
	private String messageContent;
	
	@Column
    @Comment("发布时间")
	private Date sendTime;
	
	@Column
    @Comment("状态(0未读,1已读,2删除)")
	private Integer status;
	

}